<include file="__THEME__/header" />
<link href="../Public/css/bbs.css" rel="stylesheet" type="text/css" />
<div class="contents BBS">
 <php>$sideShow = intval($_COOKIE['menuSide']) </php>	
  <div class="bbs_left" <eq name="sideShow" value="1">style="display:none"</eq> > <include file="../Public/left"  /> </div>
 <eq name="sideShow" value="1">
    <div class="rightBox" style="margin-left:0px;">
 <else />
 	<div class="rightBox" style="margin-left:150px;_margin-left:0px;">
 </eq>
	<div onclick="changeIframe()" class="sideBarToggle">
		<eq name="sideShow" value="1">
			<img src="../Public/images/clearright.gif" id="sideBarIcon"  />
		 <else />
		 	<img src="../Public/images/clearleft.gif" id="sideBarIcon"  />
		 </eq>
		</div>
        <div class="bbs_main OverH">
    <div class="forum">
      <dl class="left_dl">
        <dt>{:L('index_hotthread')}</dt>
		<volist id="vo" name="hot">
       	 <dd><a href="{:U('bbs/Index/detail',array('id'=>$vo['id']))}" target="_blank" title="{$vo.title}">{$vo.title|t|msubstr=0,30}</a></dd>
		</volist>
      </dl>
      <dl class="right_dl">
        <dt>{:L('index_affiche')}</dt>
		<php>if($affiche){</php>
			<volist id="vo" name="affiche">
	       	 <dd><a href="{:U('bbs/Index/detail',array('id'=>$vo['id']))}" target="_blank" title="{$vo.title}">{$vo.title|t|msubstr=0,30}</a></dd>
			</volist>
		<php>}else{</php>
			<dd>{:L('index_noaffiche')}</dd>
		<php>}</php>
      </dl>
      <div class="C"></div>
    </div>
<volist id="vo" name="Core['category']"	>
    <div class="bbs_ass_list">
      <h3 class="tit_bg f12">{$vo.t}</h3>
      <div class="bbs_OverH">
	<volist id="svo" name="vo['d']">
        <dl>
          <dt><a href="{:U('bbs/Index/forumlist',array('class'=>$vo['a'].','.$svo['a']))}">{$svo.t}</a></dt>
          <dd>{:L('board_total')}：{:L('base_thread')} {:getTotalCount( $svo, $totalCount , $vo['a'].','.$svo['a'] ,'theme'  )}，{:L('base_reply')} {:getTotalCount( $svo , $totalCount , $vo['a'].','.$svo['a'] ,'reply'  )}</dd>
          <dd>{:L('board_today')}：{:L('base_thread')} <span class="cl04">{:getTodayCount($svo, $todayCount , $vo['a'].','.$svo['a'] ,'theme'  )}</span>，{:L('base_reply')} <span class="cl04">{:getTodayCount( $svo , $todayCount , $vo['a'].','.$svo['a'] ,'reply'  )}</span></dd>
        </dl>
	</volist>
      </div>
      <div class="C"></div>
    </div>
</volist>
    <div class="page mt5 alR mb20"></div>
  </div>
  <div class="C"></div>
</div>
  
  <div class="C"></div>
</div>
<include file="__THEME__/footer" /> 